package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.pojo.CacBaseBigItem;

public interface CacBaseBigItemMapper {
    int deleteByPrimaryKey(Integer bigItemId);

    int insert(CacBaseBigItem record);

    int insertSelective(CacBaseBigItem record);

    CacBaseBigItem selectByPrimaryKey(Integer bigItemId);

    int updateByPrimaryKeySelective(CacBaseBigItem record);

    int updateByPrimaryKey(CacBaseBigItem record);

    /**
     * 根据CacBaseBigItem查询CacBaseBigItem
     * author:liqian
     * date:2018-10-31 17:21
     */
    CacBaseBigItem selectByCbi(CacBaseBigItem record);

    /**
     * 根据类别id删除大项
     * author:liqian
     * date:2018-10-31 17:22
     */
    int delByTypeId(Integer cacTypeId);

    /**
     * 根据大项id查询单个大项及大项下的小项
     * author:liqian
     * date:2018-11-01 15:09
     */
    CacBaseBigItem selectOneById(Integer bigItemId);
}